import { request } from '@pkg/request/src';
export enum Api {
  page = '/dataTag/page',
  get = '/dataTag/get',
  add = '/dataTag/save',
  update = '/dataTag/update',
  remove = '/dataTag/remove',
  list = '/dataTag/list',
}

export const dataTagList = params =>
  request.get(
    { url: Api.list, params },
    {
      errorMessageMode: 'none',
      successMessageMode: 'none',
    },
  );
